<template>
  <div class="dashboard-container">
    <div class="dashboard-text">欢迎使用个人空间后台系统</div>
    <br />
    <span>今天是 {{ formatDate(new Date(), false) }}</span>
  </div>
</template>

<script>
import { formatDate } from '@/utils/tools'
export default {
  name: 'Dashboard',
  methods: { formatDate }
}
</script>

<style lang="scss" scoped>
.dashboard {
  &-container {
    margin: 30px;
  }
  &-text {
    font-size: 30px;
    line-height: 46px;
  }
}
</style>
